package com.qf.dao;

import com.qf.domain.Order;
import com.qf.domain.User;

import java.util.List;

/**
 * @author YDW
 * projectName:shopping
 * time:2022/4/20 22:39
 * description:
 */
public interface OrderDao {
    Long findCountByAid(String aid);

    void insert(Order order);

    void paySuccess(Order order);

    List<Order> selectAllOrder();

    void changestatus(String oid);

    Order searchOrder(String where, List<Object> params,int uid);

    List<Order> searchOrder(String where, List<Object> params);

    List<Order> searchOrderByUid(int id);

    List<Order> searchOrderByStatus(String status);

    List<Order> searchOrderByUidAndStatus(int id, String status);
}
